<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Codice fiscale</title>
</head>
<body>
<h1>Codice fiscale</h1><br>
<form name="input" action="CreaPersonaServlet" method="get">
<table>
<tr><td>Cognome<td><input type="text" name="cognome"><br>
<tr><td>Nome<td><input type="text" name="nome"><br>
<tr><td>Data di nascita<td><input type="text" name="dataDiNascita"><br>
<tr><td>Sesso<td><input type="text" name="sesso"><br>
<tr><td>Comune di nascita<td><input type="text" name="comuneDiNascita">
<tr><td colspan=2><button type="submit">Calcola</button>
</table>
</form>
<h2><%= session.getAttribute("codiceFiscale") %></h2>
</body>
</html>